package main

import (
	_ "github.com/gogf/gf/contrib/drivers/mysql/v2"
	"github.com/gogf/gf/v2/frame/g"
	"github.com/gogf/gf/v2/os/gctx"
	_ "websocket/internal/packed"
	"websocket/internal/websocket"

	"websocket/internal/cmd"
)

func main() {
	ctx := gctx.New()
	cmd.Main.Run(ctx)
	g.Dump("http server down")
	websocket.Manager().Shutdown(ctx)
}
